package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.Order;
import com.woniu.vo.OrderPreviewVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangjianbin
 * @since 2023-02-07 11:59:17
 */
public interface OrderService extends IService<Order> {

    OrderPreviewVo queryOrderPreview(Integer id, Integer[] productIds);

    void createOrder(Integer userId, Integer[] productIds, Integer addressId);
}
